<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
    <div class="wrapper wrapper-content">
        <div class="btn-group hidden-xs" id="tableToolbar" role="group">
        <button type="button" class="btn btn-outline btn-default" th:onclick="'javascript:add()'" shiro:hasPermission="commontool:toolmanage:add">
            <i class="glyphicon glyphicon-plus"></i>添加工具
        </button>
        <button type="button" class="btn btn-outline btn-default" th:onclick="'javascript:batchRemove()'" shiro:hasPermission="commontool:toolmanage:batchRemove">
            <i class="glyphicon glyphicon-trash"></i>删除工具
        </button>
        </div>
        <table class="bootstrap-table" data-mobile-responsive="true">
        </table>
    </div>
    <div th:include="include :: footer"></div>
    <script src="/rzspider/commontool/toolmanage/toolmanage.js" th:src="@{/rzspider/commontool/toolmanage/toolmanage.js}"></script>
    <script th:inline="javascript">
        var editFlag = [[${@permissionService.hasPermi('commontool:toolmanage:edit')}]];
        var removeFlag = [[${@permissionService.hasPermi('commontool:toolmanage:remove')}]];
        var runFlag = [[${@permissionService.hasPermi('commontool:toollist:run')}]];
    </script>
</body>
</html>